 @import './variables.scss';
 
 //覆盖一些element-ui样式

 .el-breadcrumb__inner, .el-breadcrumb__inner a{
  font-weight: 400!important;
}

 .el-upload {
   input[type="file"] {
     display: none !important;
   }
 }

 .el-upload__input {
   display: none;
 }

 .cell {
   .el-tag {
     margin-right: 0px;
   }
 }

 .small-padding {
   .cell {
     padding-left: 5px;
     padding-right: 5px;
   }
 }

 .fixed-width{
  .el-button--mini{
    padding: 7px 10px;
    width: 60px;
  }
 }

 .status-col {
   .cell {
     padding: 0 10px;
     text-align: center;
     .el-tag {
       margin-right: 0px;
     }
   }
 }

 //暂时性解决dialog 问题 https://github.com/ElemeFE/element/issues/2461
 .el-dialog {
   transform: none;
   left: 0;
   position: relative;
   margin: 0 auto;
 }

 //文章页textarea修改样式
 .article-textarea {
   textarea {
     padding-right: 40px;
     resize: none;
     border: none;
     border-radius: 0px;
     border-bottom: 1px solid #bfcbd9;
   }
 }

 //element ui upload
 .upload-container {
   .el-upload {
     width: 100%;
     .el-upload-dragger {
       width: 100%;
       height: 200px;
     }
   }
 }

//dropdown
 .el-dropdown-menu{
  a{
    display: block
  }
}



//el-table
.el-table__header th{
  background-color: $tx-list-table-background !important;
  padding: 5px 0px;
}

.el-table--border th, .el-table--border td{
  border-right: 1px solid $tx-list-table-border !important;
  border-bottom: 1px solid $tx-list-table-border !important;
}

.el-table--border{
  border-top: 1px solid $tx-list-table-border !important;
  border-left: 1px solid $tx-list-table-border !important;
}

//el-alert


.el-form-item__content .el-alert__description {
  line-height: 20px;
}


.el-steps .el-step__head.is-process,.el-steps .el-step__head.is-success  {
  color:$tx-color-primary;
  border-color:$tx-color-primary;
}
.el-steps .el-step__title.is-process, .el-steps .el-step__title.is-success {
  color:$tx-color-primary;
}

.el-steps .el-step.is-center .is-success .el-step__line {
  background-color:$tx-color-primary;
}
 



.tx-detail{
  $tx-steps-success-color:$tx-color-primary;
  $tx-steps-process-color:#666;
  .el-steps .el-step__head.is-process,
  .el-steps .el-step__line.is-process,
  .el-steps .el-step__title.is-process,
  .el-steps .el-step__description.is-process {
    color: $tx-steps-process-color;
    border-color: $tx-steps-process-color;
    font-weight: bold;
  }
  .el-steps .el-step.is-center .is-process .el-step__line {
    color: $tx-steps-process-color;
  }


  .el-steps .el-step__head.is-success,
  .el-steps .el-step__line.is-success,
  .el-steps .el-step__title.is-success,
  .el-steps .el-step__description.is-success,
  .el-steps .el-step.is-center .is-success .el-step__line{
    color: $tx-steps-success-color;
    border-color:  $tx-steps-success-color;
    font-weight: bold;
  }
  .el-steps .el-step.is-center .is-success .el-step__line {
    background-color: $tx-steps-success-color;
  }



}






